<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>视频播放</title>
    <link rel="stylesheet" href="../css/navbar.css">
    <link rel="stylesheet" href="../css/videoPlayer.css">
</head>

<body>
    <div class="navbar">
        <div class="left">
            <a href="/">首页</a>
            <a href="/all_questions.html">编程题库</a>
        </div>
        <div class="center">
            <a href="/html/job_seek.html">求职</a>
            <a href="/html/learning.html">学习</a>
            <a href="/html/discuss.html">讨论</a>
            <a href="/html/question_bank.html">知识题库</a>
            <a href="/html/ai_qa.html">AI问答</a>
        </div>
        <div class="right">
            <a href="/html/register.html">注册</a>
            <a href="/html/login.html">登录</a>
            <a href="/html/userInfo.html" class="toRight">个人信息</a>
        </div>
    </div>

    <main>
        <section id="video-player-section" class="section">
            <h2 id="video-title"></h2>
            <video id="video-player" controls style="width: 100%; max-width: 800px;">
                <source src="" type="video/mp4">
                您的浏览器不支持视频播放。
            </video>
            <p id="video-description"></p>
            <p id="video-category"></p>
    
            <!-- 返回按钮 -->
            <button id="back-to-resources" onclick="window.location.href='/html/learning.html'">返回资源推荐</button>
        </section>
    </main>

    <script src="../js/videoPlayer.js"></script>
</body>

</html>